﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;

namespace CrystalWind.Example.ExcelDna
{
    public class AppGlobals
    {

        static public string GetResourceContent(string path)
        {
            Assembly _assembly = Assembly.GetExecutingAssembly();
            string value = new StreamReader(_assembly.GetManifestResourceStream(path)).ReadToEnd();
            return value;
        }
    }
}
